package com.shiyi.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author qiu
 * @date 2021-03-04 上午 02:04
 * @since 1.0
 */
@RestController
public class HelloController {

    @RequestMapping("/hello")
    public String sayHello(@RequestParam("name") String name) {
        return "hello4 " + name;
    }
}
